import request from '../utils/request.js';
//获取类目
export function WX2ColumnAction(data){
	return request({
		url:'/WX2ColumnAction',
		method:'POST',
		data,
	})
}
//分类获取
export function WXClassifyAction(data){
	return request({
		url:'/WXClassifyAction',
		method:'POST',
		data,
	})
}
//分类获取商品
export function WX2GoodsIdAction(data){
	return request({
		url:'/WX2GoodsIdAction',
		method:'POST',
		data,
	})
}
//获取商品
export function WX2GoodsAllAction(data){
	return request({
		url:'/WX2GoodsAllAction',
		method:'POST',
		data,
	})
}

//获取轮播图
export function WXCarouselChartAction(data){
	return request({
		url:'/WXCarouselChartAction',
		method:'POST',
		data,
	})
}

//修改购物车数据
export function WXEditShopCarQuantity(data){
	return request({
		url:'/WXEditShopCarQuantity',
		method:'POST',
		data,
	})
}
//批量删除购物车数据
export function WXClearShopCarQuantity(data){
	return request({
		url:'/WXClearShopCarQuantity',
		method:'POST',
		data,
	})
}
//添加购物车
export function AddCar(data){
	return request({
		url:'/WXCheckShopCarAction',
		method:'POST',
		data,
	})
}